package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Tel      string `gorm:"type:varchar(11)"`
	Password string `gorm:"type:varchar(50)"`
}

type Video struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50)"`
	Content string `gorm:"type:varchar(50)"`
	UserID  int    `gorm:"type:int"`
	User    User   `gorm:"foreignKey:UserID"`
}
